package StringExample;

public class StringDemo02 {
    public static void main(String[] args) {
        String str = "Hello World";
        char [] chars = str.toCharArray();
        for (int i = 0; i < chars.length; i++) {
            System.out.println(chars[i]);
        }
    }
}
